|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectj3deditor.bin.editor.SceneBuffer
public class SceneBuffer
Utility that updates the image of a Scene2D
in another low priority thread.
| Constructor Summary | |
|---|---|
SceneBuffer(Scene2D scene)
Creates an instance of SceneBuffer
which updates the image shown on the specified
Scene2D. |
|
| Method Summary | |
|---|---|
java.awt.Image |
getImage()
Returns the image of the valid buffer. |
void |
process()
Draws the scene into the backbuffer. |
protected void |
updateImage()
Schedules this image to updation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SceneBuffer(Scene2D scene)
SceneBuffer
which updates the image shown on the specified
Scene2D.
scene - Scene2D which image this SceneBuffer updates.| Method Detail |
|---|
protected void updateImage()
public java.awt.Image getImage()
public void process()
Scene2D.
process in interface BackgroundTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||